<template>
  <div>
    <div style="margin: 30px">
      <el-form :model="queryParams" label-width="170px" ref="queryForm">
        <el-form-item label="合同编号" prop="roleName">
          <el-input
            disabled
            v-model="queryParams.roleName"
            placeholder="请输入"
            clearable
            @keyup.enter.native="handleQuery"
          />
        </el-form-item>
        <el-form-item label="乙方" prop="roleKey">
          <el-input
            disabled
            v-model="queryParams.roleKey"
            placeholder="请输入"
            clearable
            @keyup.enter.native="handleQuery"
          />
        </el-form-item>
        <el-form-item label="变更前车牌号" prop="roleName">
          <el-input
            disabled
            v-model="queryParams.roleName"
            placeholder="请输入"
            clearable
            @keyup.enter.native="handleQuery"
          />
        </el-form-item>
        <el-form-item label="变更后车牌号" prop="roleKey">
          <el-input
            v-model="queryParams.roleKey"
            placeholder="请输入"
            clearable
            @keyup.enter.native="handleQuery"
          />
        </el-form-item>
      </el-form>
    </div>

    <div class="bt" style="text-align: center !important;">
      <el-button type="primary" @click="submitForm('queryForm')" v-if="isCreate!=2">打印</el-button>
      <el-button style="width:100px" @click="close">取消</el-button>
    </div>
  </div>
</template>
<script>
export default {
  dicts: ["sys_normal_disable"],
  data() {
    return {
      radio: "1",
      queryParams: {},
      checkList: []
    };
  },
  mounted() {
    this.$refs["queryForm"].resetFields();
  },
  methods: {
    submitForm() {
      console.log(queryParams, "queryParams");
    },
    close() {
      this.$emit("close");
    }
  }
};
</script>